home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ham Radio 2000
/
Ham Radio 2000.iso
/
ham2000
/
logs
/
logbook
/
lz60.prg
< prev
next >
Wrap
Text File
|
1990-05-04
|
2KB
|
69 lines
*:*********************************************************************
*:
*: Program: LZ60.PRG
*:
*: System: PC-HAM Logbook
*: Author: Joe Kasser G3ZCZ
*: Copyright (c) 1990, Joe Kasser
*: Last modified: 09/01/89 11:30
*:
*: Called by: LOGAWARD.PRG
*:
*: Uses: &LOGBOOK.DBF
*:
*: Indexes: &LOGNDX
*:
*: Documented 05/04/90 at 13:49 SNAP! version 3.12f
*:*********************************************************************
*LZ60 SCAN LOG FOR LZ60 AWARD REQUIREMENTS
? 'LZ60 AWARD CONTACTS/POINTS SUMMARY'
ACCEPT 'Do you want Hard Copy (Y/N) ? ' TO pf
pf = SUBSTR(pf,1,1)
IF pf = 'Y'
SET PRINT ON
ENDIF
USE &logbook INDEX &logndx
FIND lz
STORE 0 TO points
STORE 0 TO spoints
CLEAR
? ' LZ 60 AWARD CONTACTS '
? ' CALL DATE TIME BD TX RX MODE '
?? 'POWER COMMENTS POINTS'
? '----------------------------------------------------------------------'
DO WHILE CALL = 'LZ' .and. .not. EOF()
* date has to be in yy/mm/dd format
IF DATE >= '86/07/01' .and. DATE <= '86/12/31'
IF CALL = 'LZ6'
STORE 6 TO points
ELSE
STORE 1 TO points
ENDIF
STORE spoints + points TO spoints
? CALL,DATE,TIME,band,tx,rx,mode,Power,comments,points
STORE CALL TO ncall
STORE band TO nband
DO WHILE CALL = ncall .and. .not. EOF()
* .AND. band = nband
* if same call on different bands is allowed
* SKIP DUPES
SKIP
ENDDO
IF .not. EOF()
SKIP -1
ENDIF
ENDIF
SKIP
ENDDO
USE
? '-----------------------------------------------------------------------'
? 'TOTAL POINTS = ',spoints
IF pf = 'Y'
EJECT
SET PRINT OFF
ENDIF
RELEASE spoints,points,ncall,nband,pf
WAIT
RETURN
*: EOF: LZ60.PRG